<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>

</body>

</html>
<script>
    function sortString(obj) {
        let arr1 = [];
        for (let i = 0; i < arr.length; i++) {
            let s = /,/g
            arr1.push(arr[i].replace(s, ""))
            arr1.sort(function (a, b) {
                return a - b;
            })
        }
        for (let i = 0; i < arr1.length; i++) {
            arr1[i] = String(arr1[i]).replace(/(\d)(?=(\d{3})+$)/g, "$1,");
        }
        return arr1
    }
    let arr = ["10,689,025", "99,723", "100", "11,000"]
    console.log(sortString(arr));
    alert(sortString(arr))
</script>